package exe;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Feibolaqie {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("input numbers:");
        int a = in.nextInt();
        int b = 0;
        int b1 = 0;
        int b2 = 1;
        while (a > 0) {
            b1 = b2;
            b2 = b;
            b = b1 + b2;
            System.out.println(b);
            a--;
        }
    }
}
